package top.infopub.mgr.cap.dao;

import org.apache.ibatis.annotations.Param;
import top.infopub.generic.GenericDao;
import top.infopub.model.cap.LookInfoBank;

import java.util.List;

/** 融资尽调对接金融机构(CAP_LOOK_INFO_BANK) **/
public interface LookInfoBankDao extends GenericDao<LookInfoBank, String> {

    /**
     * 批量添加银行
     */
    void insertByBatch(@Param("list")List<LookInfoBank> lookInfoBanks);

    List<LookInfoBank> selectByBeginId(@Param("id")String id);

    void deleteByLookInfoId(@Param("id") String id);

    List<LookInfoBank> selectByProCode(@Param("proCode") String proCode);
}
